import {createRouter, createWebHashHistory} from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes = [
	{
		path: '/',
		name: 'home',
		component: HomeView
	},
	{
		path: '/project_list',
		name: 'project_list',
		component: () => import('../views/project_list/project_list.vue')
	},
	{
		path: '/project_detail',
		name: 'project_detail',
		component: () => import('../views/project_detail/project_detail.vue')
	},
]

const router = createRouter({
	history: createWebHashHistory(),
	routes
})

export default router
